#ifndef __MAIN_H__
#define __MAIN_H__

#include "GuiController.h"
#include "PlayerController.h"
#include "Splash\SplashScreen.h"
#include "load_prc_file.h"
#include "World.h"
#include "buffer\cBufferViewer.h"
#pragma once
//@author dylan

class App
{
	public:
		App();
		~App();
		bool Init(int argc, char *argv[]);
		bool Play();
		bool Update();
		void Process(const Event * theEvent);
		bool Remove(std::string Event);
		std::set<std::string> down;
		WindowFramework *window;
		PandaFramework framework;
		GuiController *Gui;
		PlayerController *Player;
		World *world;
	private:
		CBufferViewer *Buffer;
};
#endif 